package com.yili.oa;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.yili.oa.dao")
@EnableTransactionManagement
@EnableSwagger2
@EnableCaching
public class YiliOaApplication {

    public static void main(String[] args) {
        SpringApplication.run(YiliOaApplication.class, args);
    }

}

////        DataSourceAutoConfiguration.class})
